//
//  LGActionSheet.h
//  Gunz
//
//  Created by Joggy on 16/1/19.
//  Copyright © 2016年 NUPT. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Files.h"

#import "RGPhoneViewController.h"
#import "RGEmailViewController.h"

#define bgHeight 192*proportion
#define buttonWidth 236*proportion
#define buttonHeight 38*proportion
#define insert (bgHeight - 3*buttonHeight)/4
#define asCornerRadius 4

@interface LGActionSheet : UIView

@property(nonatomic, retain) UIButton *registerByPhoneButton;
@property(nonatomic, retain) UIButton *registerByEmailButton;
@property(nonatomic, retain) UIButton *cancelButton;
@property(nonatomic, retain) UIView *bgView;
@property(nonatomic, retain) UIView *shadowView;
@property(nonatomic, retain) UIWindow *kWindow;

-(instancetype)initWithFrame:(CGRect)frame;
-(void)prepareForLayout;
-(void)show;
-(void)dismiss;

@end
